﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NobleTech.Products.CreatureKingdom.Organisms.Sample
{
    [Organism(typeof(CrazyRenderer))]
    public class Crazy : IOrganism
    {
        public static void GetOriginalStats(OrganismStats stats)
        {
            stats.BornSize = 1;
            stats.FullyGrownSize = 4;
            stats.MaxSpeedForwards = 50;
            stats.MaxSpeedBackwards = 15;
            stats.AttackRange = 10;
            stats.GestationPeriod = 20;
            stats.FullyGrownAge = 12;
            stats.LifeSpan = 150;
            stats.FrailtyAge = 100;
            stats.Stamina = 1250000;
            stats.Camoflage = 0;
            stats.MaxStrength = 25000;
            stats.ArmourFront = 7000;
            stats.ArmourBack = 2000;
        }

        public Crazy(OrganismStats stats)
        {            
        }

        public void DoMove(Move move, OrganismInfo myInfo, IEnumerable<OrganismInfo> seenOrganisms)
        {            
            move.StartMoving(Math.PI * 2 * WorldStats.RandomGenerator.NextDouble(), 12);
        }

    }
}
